package o;

import com.huawei.appgallery.forum.base.card.bean.Post;
import com.huawei.appgallery.forum.cards.bean.ForumPostCardBean;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import java.util.List;

public class cah extends chz {
    public cah(long j, cie o_cie, int i, List<CardBean> list) {
        super(j, o_cie, i, list);
    }

    public void ˎ(List<CardBean> list) {
        if (list != null) {
            car ˏ = car.ˏ();
            for (CardBean cardBean : list) {
                if (cardBean instanceof ForumPostCardBean) {
                    ForumPostCardBean forumPostCardBean = (ForumPostCardBean) cardBean;
                    Post ʽ = forumPostCardBean.ʽ();
                    if (ʽ != null) {
                        forumPostCardBean.ˏ(ˏ.ˊ(ʽ.ˏ()));
                        forumPostCardBean.ˋ(true);
                    }
                }
            }
        }
        super.ˎ((List) list);
    }
}
